package com.hceax.servlet;

/**
 * 
 * @author zhangli
 *
 */ 
public class User {
	


	String username;
	String password;
	
	String sno;
	public String getSno() {
		return sno;
	}
	
	public void setSno(String sno) {
		this.sno = sno;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String[] toData(){
		String[] data = new String[4];
		data[0] =  this.getUsername();
		data[1] =  this.getPassword();
		return data;
	}
	
	@Override
	public String toString(){
		return this.getUsername();
	}

}
